/*
 * @Author: ljp
 * @Date: 2021-10-27 16:37:22
 * @Last Modified by: ljp
 * @Last Modified time: 2021-10-28 16:00:52
 */
#include <iostream>
#include <signal.h>

#include "camera_cross_view_base_opencv_gpu.h"

#if ROS_ENABLE
#include <ros/ros.h>
#endif

using namespace std;

int main(int argc, char **argv)
{
  std::string file_path = "./conf/perception/camera/camera_cross_view_base_opencv_gpu_1/camera_cross_view_base_opencv_gpu.json";
  system("mkdir -p log");
  ros::init(argc, argv, "camera_cross_view_base_opencv_gpu");

  Camera_cross_view_base_opencv_gpu *camera_cross_view_base_opencv_gpu = new Camera_cross_view_base_opencv_gpu(file_path);
  camera_cross_view_base_opencv_gpu->Init();

  ros::spin();
  delete camera_cross_view_base_opencv_gpu;

  return 1;
}